package org.dcc.order.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.client.RestTemplate;

@RestController
public class OrderService {

    @Value("${server.port}")
    String port;

    @GetMapping("/orders")
    public String getAllOrders() {
        return "return All Orders " + port;
    }

}
